home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 73747 / 73747.xpi / texto.jar / content / pref-texto.xul < prev    next >
Extensible Markup Language  |  2010-02-08  |  4KB  |  107 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE overlay SYSTEM "chrome://texto/locale/pref-texto.dtd">
  3. <!--
  4. The contents of this file are subject to the Mozilla Public
  5. License Version 1.1 (the "License"); you may not use this file
  6. except in compliance with the License. You may obtain a copy of
  7. the License at http://www.mozilla.org/MPL/
  8.  
  9. Software distributed under the License is distributed on an "AS
  10. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11. implied. See the License for the specific language governing
  12. rights and limitations under the License.
  13.  
  14. Alternatively, the contents of this file may be used under the
  15. terms of the GNU General Public License Version 2 or later (the
  16. "GPL"), in which case the provisions of the GPL are applicable 
  17. instead of those above.
  18.  
  19. Copyright (C) 2002 Tomas Styblo <tripie@cpan.org>
  20. -->
  21.  
  22. <?xml-stylesheet href="chrome://global/skin/"?>
  23. <?xul-overlay href="chrome://texto/content/communicatorOverlay.xul"?>
  24. <?xul-overlay href="chrome://texto/content/platformPrefOverlay.xul"?>
  25.  
  26.  
  27. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  28.     xmlns:html="http://www.w3.org/1999/xhtml"
  29.     id="pref-texto"
  30.     onload="initMozexPrefPanel(document.getElementById('texto.command.defaults'));"
  31.     title="&prefs_window_title;"
  32.     >
  33.  
  34.     <script type="application/x-javascript" src="chrome://texto/content/pref-texto.js"/>
  35.  
  36.     <groupbox id="texto.command.defaults">
  37.         <caption label="&prefs_global_settings;"/>
  38.         <grid>
  39.             <columns>
  40.                 <column flex="1" />
  41.                 <column flex="3" />
  42.             </columns>
  43.             <rows>
  44.                 <row>
  45.                     <label value="&prefs_default_editor;:" />
  46.                     <hbox><textbox id="texto.default.editor" flex="19" /><button id="texto.default.editorbrowse" flex="1" label="&prefs_open_appbrowser;" /></hbox>
  47.                 </row>
  48.                 <row>
  49.                     <label value="&prefs_default_arguments;:" />
  50.                     <textbox id="texto.default.args" />
  51.                 </row>
  52.                 <row><label value="" />
  53.                     <description>&prefs_placeholder_filename;: %t</description></row>
  54.                 <row><label value="" />
  55.                     <description>&prefs_placeholder_hostname;: %h</description></row>
  56.                 <row>
  57.                     <label value="&prefs_globally_enabled_flag;:" />
  58.                     <checkbox id="texto.default.enabled" />
  59.                 </row>
  60.  
  61.             </rows>
  62.     </grid>
  63.     </groupbox>
  64.  
  65.     <groupbox id="texto.commands.domainopts">
  66.         <caption label="&prefs_domain_settings;"/>
  67.  
  68.         <grid>
  69.             <columns>
  70.                 <column />
  71.                 <column />
  72.             </columns>
  73.             <rows>
  74.                 <row>
  75.                     <vbox flex="1">
  76.                         <box>
  77.                             <textbox value="&prefs_new_domain;" id="texto.domain.new" flex="15" size="18" />
  78.                             <button id="texto.domain.add" flex="1" label="Add" />
  79.                         </box>
  80.                         <listbox id="texto.domain.list" rows="8" sortDirection="ascending">
  81.                             <listitem label="&prefs_nodomains;" disabled="true" />
  82.                         </listbox>
  83.                     </vbox>
  84.                     <vbox flex="1">
  85.                         <spacer flex="1" />
  86.                         <grid>
  87.                             <columns><column /><column /></columns>
  88.                             <rows>
  89.                                 <row><label value="&prefs_domain;" /><textbox id="textoOptDomain" readonly="true" /></row>
  90.                                 <row><label value="&prefs_executable;" /><hbox><textbox id="textoOptEditor" flex="50"/><button id="texto.domain.editorbrowse" flex="1" label="&prefs_open_appbrowser;" /></hbox></row>
  91.  
  92.                                 <row><label value="&prefs_arguments;" /><textbox id="textoOptArgs" /></row>
  93.                                 <row><label value="&prefs_css_selector;" /><textbox id="textoOptAuto" /></row>
  94.                                 <row><label value="&prefs_enabled;" /><checkbox id="textoOptEnabled" /></row>
  95.                                 <row><hbox /><hbox><button id="textoOptSave" label="&prefs_save;" disabled="true" /><button id="textoOptDelete" label="&prefs_delete;" disabled="true" /></hbox></row>
  96.                             </rows>
  97.                         </grid>
  98.                     </vbox>
  99.                 </row>
  100.             </rows>
  101.         </grid>
  102.  
  103.     </groupbox>
  104.  
  105. </dialog>
  106.  
  107.